package com.cn.xact.ty_treasured_book.net.base;

public interface NetworkInterface {

    public void loginAsync(String userid, String imsi);
    public void getSupportPhonesAsync(int userid);
    public void getNewMsgAsync(int userid);
    public void getAllMsgAsync(int userid);
    public void searchAsync(int userid, String key);
    public void getPopWordsAsync(int userid, int number);
    public void getUserInfoAsync(int userid);
    public void getExchangeListAsync(int userid);
    public void getVerifyCodeAsync();
    public void creditExchangeAsync(int userid, int itemid, String vcode);
    public void getExchangeHistoryListAsync(int userid);
    public void getRankAsync(int userid);
    public void getRulesAsync(int userid);
    public void setUserInfoAsync(int userid, int gender, String nick, int icon);
    public void changePSWAsync(int userid, String psw, String vcode);
    public int checkNetWorkSync();
    public void registerAsync(String userid, String psw);
    public void getAppComments(String userid, String appId, int number);
    public void publishComments(String userid, String comments);
}
